package com.dk.Controller;


import com.dk.bean.Result;
import com.dk.em.ResultEnum;
import com.dk.service.CarOrderService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 张成涛
 * @since 2021-08-13
 */
@RestController
@RequestMapping("/car-order")
public class CarOrderController {

    @Autowired
    private CarOrderService carOrderService;


    @GetMapping
    @ApiOperation(value = "登录成功后拿到用户的id查询对应的订单信息")
    public Result toSelect(){

        return Result.buildResult(ResultEnum.SUCCESS);
    }
}

